module.exports = {
  type: 'bottomTab',
  tabMode: 'fixed',
  searchRoute: $route('other/list'),
  fetch() {
    return [
      {
        thumb: $icon('personal_video', 'black'),
        title: '电视剧',
        route: $route('other/list', { sort: 'tv'})
      },
      {
        thumb: $icon('movie', 'black'),
        title: '电影',
        route: $route('other/list', { sort: 'movie' })
      },
      {
        thumb: $icon('music_video', 'black'),
        title: '综艺',
        route: $route('other/list', { sort: 'variety' })
      },
      {
        thumb: $icon('toys', 'black'),
        title: '动漫',
        route: $route('other/list', { sort: 'comic' })
      }
    ]
  },
  onClick(item) {
    $ui.toast(`Clicked ${item.title}`)
  }
}
